package com.epam.webproject.restaurant.jaxb.application;

import com.epam.webproject.restaurant.jaxb.xml.GeneratorObject;
import org.apache.log4j.Logger;

/**
 * Created with IntelliJ IDEA.
 * User: Yelena_M
 * Date: 12.09.13
 * Time: 11:34
 * To change this template use File | Settings | File Templates.
 */
public class Application {

    private final static Logger LOGGER = Logger.getLogger(Application.class);

    public static void main(String[] args) {

        LOGGER.info("Application's started");

        //GeneratorXML.generateBillXML("billJAXB.xml");
        //GeneratorObject.generateBill("billJAXB.xml");
        GeneratorObject.generateBill("bill.xsd.xml");

        LOGGER.info("Application's finished");
    }
}
